package cz.acies.genea.data.gedcom.model;

public class Change extends ExtensionContainer
{
	private DateTime date = null;

	public DateTime getDateTime() {
		return date;
	}

	public void setDateTime(DateTime date) {
		this.date = date;
	}

	public void accept(Visitor visitor) {
		if (visitor.visit(this)) {
			if (date != null) {
				date.accept(visitor);
			}
			super.visitContainedObjects(visitor);
			visitor.endVisit(this);
		}
	}
}
